package com.wuseguang.springcloud.util;

/**
 * @author 赵敏聪
 * @date 2020/05/25
 */
public class ClazzUtil {

    public static Class getClazz(String packageName,String className){
        Class clazz;
        try {
            clazz = Class.forName(packageName+"."+className);
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
            return null;
        }
        return clazz;
    }

}
